package com.javaQQ;

import javax.swing.Icon;

public class ListItem {

	private String name;
	private Icon icon;
	public ListItem(String name,Icon icon){
		this.name=name;
		this.icon=icon;
	}
	public String getName() {
		return name;
	}
	public Icon getIcon() {
		return icon;
	}
}